﻿// ===============================================================================
// DotNet.Platform 开发框架 2016 版权所有
// ===============================================================================

using System;
using DotNet.Entity;

namespace DotNet.Edu.Entity
{
    /// <summary>
    /// 系统文档
    /// </summary>
    [Table("系统文档",Name ="sys_doc")]    
    public class SysDoc
    {
		/// <summary>
        /// 文档主键
        /// </summary>
        [PrimaryKey]
        [Column("文档主键",false)]
        public string id { get; set; }

		/// <summary>
        /// 文档标题
        /// </summary>
		[Column("文档标题")]
        public string title { get; set; }

		/// <summary>
        /// 文档分类
        /// </summary>
		[Column("文档分类")]
        public string category { get; set; }

		/// <summary>
        /// 标签
        /// </summary>
		[Column("标签")]
        public string tag { get; set; }

		/// <summary>
        /// 内容
        /// </summary>
		[Column("内容")]
        public string html_content { get; set; }

		/// <summary>
        /// 状态[1-启用,0-禁用]
        /// </summary>
		[Column("状态[1-启用,0-禁用]")]
        public bool status { get; set; }

		/// <summary>
        /// 操作人主键
        /// </summary>
		[Column("操作人主键")]
        public string operate_user_id { get; set; }

		/// <summary>
        /// 操作人
        /// </summary>
		[Column("操作人")]
        public string operate_user_name { get; set; }

		/// <summary>
        /// 操作时间
        /// </summary>
		[Column("操作时间")]
        public DateTime? operate_date_time { get; set; }
    }
}
